{extend name="base" /}
{block name="content"}
<div class="g-main">
    <div class="m-main-title">
        <div class="m-container-fluid">
            <a href="{:url('index/welcome')}"><i class="icon icon-home"></i>首页</a>
            <span class="icon-angle-right"></span>
            <span>系统</span>
            <span class="icon-angle-right"></span>
            <span>会员管理</span>
            <span class="icon-angle-right"></span>
            <span>会员列表</span>
            <span class="icon-angle-right"></span>
            <span>兑换记录</span>
            <a class="u-flush"><i class="icon-repeat"></i></a>
        </div>
    </div>
    <div class="m-main-content">
        <div class="m-container">

            <form class="layui-form">
                <table class="m-table mt-10">
                    <tbody class="datas">
                    <tr>
                        <th width="5%">ID</th>
                        <th width="8%">商品名称</th>
                        <th width="8%">所需积分</th>
                        <th width="8%">兑换数量</th>
                        <th width="6%">兑换时间</th>
                    </tr>
                    {foreach name="data" item="v"}
                    <tr>
                        <td>{$v.id}</td>
                        <td>{$v.goods_name}</td>
                        <td>{$v.sale_price}</td>
                        <td>{$v.goods_nums}</td>
                        <td>{$v.created_at}</td>
                    </tr>
                    {/foreach}
                    </tbody>
                </table>
            </form>
            {include file="public:page" /}
        </div>
    </div>
</div>
{/block}

{block name="extrajs"}
{include file="laypage" /}

{/block}